﻿using EkStudio.com.bean.xml.reflection;
using System;
using System.Collections.Generic;

namespace EkStudio.com.bean.xml.ProjectMenu
{
    public class ProjectMenuModRoot
    {
        private int maxid = 0;
        private String key = "module";
        private String caption = "业务单据";
        private String languageTexts = "Project.Business.Spac";
        private String imgUrl = "";

        private List<ProjectMenuModGroup> modules;
        [Xml("maxid")]
        public int Maxid
        {
            get
            {
                return maxid;
            }

            set
            {
                maxid = value;
            }
        }
        [Xml("key")]
        public string Key
        {
            get
            {
                return key;
            }

            set
            {
                key = value;
            }
        }
        [Xml("caption")]
        public string Caption
        {
            get
            {
                return caption;
            }

            set
            {
                caption = value;
            }
        }
        [Xml("languageTexts")]
        public string LanguageTexts
        {
            get
            {
                return languageTexts;
            }

            set
            {
                languageTexts = value;
            }
        }
        [Xml("imgUrl")]
        public string ImgUrl
        {
            get
            {
                return imgUrl;
            }

            set
            {
                imgUrl = value;
            }
        }
        [XmlElement("modules")]
        public List<ProjectMenuModGroup> Modules
        {
            get
            {
                return modules;
            }

            set
            {
                modules = value;
            }
        }
    }
}
